package TOOLS.AKtable;

import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

public class m_keys {
	String [] keys;
	public m_keys(String ... iKeys) {
		keys=iKeys;
	}
	
	public List<String> toList(){
		return Arrays.stream(keys).collect(Collectors.toList());
	}
	
	public static String [] newKeys(String ... iKeys) {
		return iKeys;
	}
	
	public m_keys_list add(String ... iKeys) {
		m_keys_list iList=new m_keys_list();
		iList.data.add(this);
		m_keys nKeys=new m_keys(iKeys);
		iList.data.add(nKeys);
		return iList;
	}
}
